import 'dart:convert';

import 'package:flutter2/generated/json/base/json_field.dart';
import 'package:flutter2/generated/json/user_entity.g.dart';

export 'package:flutter2/generated/json/user_entity.g.dart';

@JsonSerializable()
class UserEntity {
  int unmarriedexplainaggressionpatience = 0;
  String waistchairwomanpilechoose = '';
  @JSONField(name: "evenwebsiteprinciple")
  int userId = 0;
  @JSONField(name: "becomecushionchickchinese")
  String token = '';
  String phone = "";

  UserEntity();

  factory UserEntity.fromJson(Map<String, dynamic> json) => $UserEntityFromJson(json);

  Map<String, dynamic> toJson() => $UserEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
